package com.atguigu.day20.exer;

/**
 * @version 1.0
 * @Author 马冰
 * @Date 2024/11/25 16:09
 * @注释
 */
public class Number extends Thread{
 private PrintTest print;
 public Number(PrintTest print) {
     this.print = print;
 }
    @Override
    public void run() {
        for (int i = 1; i <= 52; i++) {
            print.number(i);
        }
    }


}
